delete

abstract fun delete(cookie: Cookie)

Deletes the given cookie from the cookie store.

Important: this method makes the cookie changes in memory. To keep these changes for the persistent cookies after application restart you must invoke the persist method before application exit.

Parameters

cookie

a Cookie instance to delete

Throws

when the profile is deleted or its engine is closed